package com.tencent.miniproject.presenter.i;

import android.content.Context;
import android.net.Uri;

import com.tencent.miniproject.been.PublishBeen;

import java.io.File;
import java.util.Date;

public interface IPublishInfoPresenter {

    void takePhoto(Context context, Uri imageUri);
    void getPicTagFromNet(File picFile);
    void publishData(Context context, PublishBeen publishBeen, File picFile);
    //获取实体类
    PublishBeen getPublishBeen(String content, String position, Double longitude, Double latitude,
                               String store, String imgLabel, Date releaseTime, String cost, String district);
    //判断是否可以发布，必须保证参数不能为空
    boolean canPublishData(File picFile, String location, Double longitude, Double latitude,
                           String imgLabel, String cost);
}
